#!/usr/bin/python

# The import construction uses for include some modules in current module/program.
# The import construction imports all functions, constants, etc...
# Also, the import runs the module code (one-time in session).
import hello

# If you need to run the module code again you can use the function reload()
# In Python 2 use should just use this function.
reload(hello)

# In Python 3 you should use imp.reload() function.
import imp
imp.reload(hello)

# Also, the import can import only one function with construction from <module> import <function>.
# In this case imported name merged with current namespace. Use use <function> instead of <module>.<function>.
from os import system
system("echo Hello")

from imp import reload
reload(hello)

# WARNING: All names that imported by "from" construction can't be updated by reload() (different from "import").
